package com.ccut.xunfeiSpringboot.exception;/*
 * ClassName: CustomException
 * Package: com.ccut.xunfeispringboot
 * Description:
 * @Author 刘千湫
 * @Create 2025/2/11 11:44
 * @Version 1.0
 */



public class CustomException extends RuntimeException {
    private String code;
    private String message;

    public CustomException(String code, String message) {
        super(message);
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}